import React, { memo } from 'react'
import {  userbottom, icontu } from "./nine.module.css"
import router from "../../usertouter/router"
import { Link } from "react-router-dom"
export default memo(function nine(props) {
    return (

        <ul className={userbottom}>
            {
                router.filter(item => item.isN).map((item, i) => <li key={i}>
                    <Link
                        to={{pathname:item.path,state:{props}}}
                    >
                        <div className={icontu}>
                            <item.icon />
                        </div>
                        <div>
                            {item.til}
                        </div>
                    </Link>
                </li>)
            }
        </ul>

    )
})

